//
//  CTMediator+MyCTMediaOCCate.m
//  CTMediator
//
//  Created by XFGuo on 2019/2/22.
//

#import "CTMediator+MyCTMediaOCCate.h"

@implementation CTMediator (MyCTMediaOCCate)

- (UIViewController *)moduleOC_viewControllerWithTargetName:(NSString *)target actionName:(NSString *)actionName parameters : (NSMutableDictionary *)parameter callBack:(CallBackBlock)callBack{
    
    parameter[@"callback"] = callBack;
    
    UIViewController *vc = [self performTarget:target action:actionName params:parameter shouldCacheTarget:NO];
    
    return vc;
}
    
@end
